import axios from 'axios';
import { createApp } from 'vue';
import App from './App.vue';
import './index.css';
import './assets/css/bootstrap.css';

const app = createApp(App);
// 挂载axios到全局
app.config.globalProperties.$http = axios;
// 配置根请求路径
axios.defaults.baseURL = 'https://www.escook.cn';
app.mount('#app');
